package com.thm.tfast.core.enums;

/**
 * @ClassName AccountEnum
 * @Author THM
 * @Date 2022/10/10 15:13
 * @Version 1.0
 * @Description 权限使用枚举
 */
public enum PermissionEnum {
    NO_HAS(0,"不需要权限访问"),
    HAS(1,"需要权限访问");


    private Integer code;
    private String desc;

    PermissionEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
